package com.chang.seckill.service;


import com.chang.seckill.to.SeckillSkuRedisTo;

import java.util.List;

public interface SeckillService {
    // 上架三天内需要秒杀的商品
    void uploadSeckillSkuLatest3Days();

    List<SeckillSkuRedisTo> getCurrentSeckillSku();

    SeckillSkuRedisTo getSkuSeckillInfo(Long skuId);

    String kill(String killSkuId, String key, Integer num);
}
